﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Core.Base;
using ERP.BusinessEntities;

namespace MainApp.Modules.BP
{
    public class BPEntity: BaseEntity
    {
        //SGVList<ICBPBOMsInfo> lstICBPBOMs = new SGVList<ICBPBOMsInfo>();

        public override void InitModuleObjects()
        {
            AddMainObject("GLBPs", new GLBPsInfo());
        }

        public override void InitLists()
        {
            //base.InitLists();

            //lstICBPBOMs = new SGVList<ICBPBOMsInfo>();
            //lstICBPBOMs.InitList(this, "ICBPs", "ICBPBOMs", "FK_ICBPs_ParentID");

            ////ICBPBOMsInfo b1 = new ICBPBOMsInfo();
            ////b1.Qty = 10;
            //////b1.FK_ICBPs_ID = 1;
            ////lstICBPBOMs.Add(b1);
            ////ICBPBOMsInfo b2 = new ICBPBOMsInfo();
            ////b2.Qty = 6;
            ////lstICBPBOMs.Add(b2);

            //lstICBPBOMs.Binding("MainScreen", "ICBPBOMsGridView");
        }
    }
}
